#ifndef __INDEX_TREE_H__ 
#define __INDEX_TREE_H__

#include <stdint.h>

struct wffs_dir_item_body
    {
    uint64_t ino;
    uint16_t name_len;
    char     name[0];
    } __attribute__ ((__packed__));

struct wffs_inode_item_body
    {
    uint64_t nrblocks;
    uint16_t mode;
    uint64_t size;
    uint32_t atime;
    uint32_t mtime;
    uint32_t ctime;
    } __attribute__ ((__packed__));

struct wffs_file_direct_extent_item_body
    {
    } __attribute__ ((__packed__));

struct wffs_file_indirect_extent_item_body
    {
    } __attribute__ ((__packed__));


#endif /* __INDEX_TREE_H__ */

